.dialog-success {
  width: 17.77778vw;
  height: 17.77778vw;
  margin: 0 auto;
  position: relative;
}

.dialog-success .left-baffle {
  width: 8.88889vw;
  height: 17.77778vw;
  position: absolute;
  background-color: white;
  left: 0;
  top: 0;
  opacity: 1;
  transform-origin: 100% 50%;
  animation: leftRotate 2s linear;
  animation-fill-mode: forwards;
  z-index: 3;
}

.dialog-success .right-baffle {
  width: 8.88889vw;
  height: 17.77778vw;
  position: absolute;
  background-color: white;
  right: 0;
  top: 0;
  opacity: 1;
  transform-origin: 0 50%;
  animation: rightRotate 2s linear;
  animation-delay: 2s;
  animation-fill-mode: forwards;
}

.dialog-success .icon-ok {
  width: 100%;
  height: auto;
}

.dialog-success .harf-dialog-success {
  width: 8.88889vw;
  height: 17.77778vw;
  position: absolute;
  z-index: 2;
  left: 0;
  top: 0;
  overflow: hidden;
  opacity: 1;
  animation: harf-success 1s linear;
  animation-delay: 4s;
  animation-fill-mode: forwards;
}

.dialog-success .harf-dialog-success .harf-icon-ok {
  width: auto;
  height: 100%;
}

.dialog-success .harf-dialog-success::before {
  content: '';
  width: 3.88889vw;
  height: 5vw;
  background-color: white;
  top: 50%;
  left: 60%;
  transform: translateY(-50%);
  position: absolute;
}

.dialog-success::before {
  content: '';
  width: 7.5vw;
  height: 7.5vw;
  position: absolute;
  background-color: white;
  top: 50%;
  right: 29%;
  transform: translateY(-50%);
  animation: tick 2s linear;
  animation-fill-mode: forwards;
  animation-delay: 4s;
}

@keyframes leftRotate {
  0% {
    transform: rotate(0);
  }
  99% {
    transform: rotate(-180deg);
    opacity: 1;
  }
  100% {
    transform: rotate(-180deg);
    opacity: 0;
  }
}

@keyframes rightRotate {
  0% {
    transform: rotate(0);
  }
  99% {
    transform: rotate(-180deg);
    display: none;
    opacity: 1;
  }
  100% {
    transform: rotate(-180deg);
    opacity: 0;
  }
}

@keyframes harf-success {
  0% {
    opacity: 0;
  }
  1%,
  100% {
    opacity: 0;
  }
}

@keyframes tick {
  0% {
    width: 7.5vw;
  }
  100% {
    width: 0;
  }
}
